package com.dcy.znoa.service.sys;

import com.dcy.znoa.common.util.pojo.JsonCommon;
import com.dcy.znoa.common.util.pojo.JsonForList;
import com.dcy.znoa.controller.sys.model.role.SelectRoleModel;
import com.dcy.znoa.domain.sys.Role;
import java.lang.reflect.InvocationTargetException;

public interface RoleService {
    JsonForList selectList(SelectRoleModel selectRoleModel) throws InvocationTargetException, IllegalAccessException;

    JsonCommon insert(Role role);

    JsonCommon updateById(Role role);

	JsonForList selectUserListByRoleId(SelectRoleModel model);

	JsonForList selectUserListNotOfRoleId(SelectRoleModel model);

}
